package com.woniuxy.cloud.carl.marketing.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.woniuxy.cloud.carl.marketing.client.param.AddFullDiscount;
import com.woniuxy.cloud.carl.marketing.client.param.AddServiceParam;
import com.woniuxy.cloud.carl.marketing.client.param.GetCouponParam;
import com.woniuxy.cloud.carl.marketing.infra.model.FullDiscountCoupon;
import com.woniuxy.cloud.carl.marketing.infra.model.ServiceCoupon;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniuxy.result.Result;

import java.util.List;

/**
 * <p>
 * 服务券 服务类
 * </p>
 *
 * @author Lucas
 * @since 2023-07-19
 */
public interface ServiceCouponService extends IService<ServiceCoupon> {
    Result addServiceCoupon(AddServiceParam param);

    Result<Page<ServiceCoupon>> getCoupon(GetCouponParam param);

    Result useServiceCoupon(Long storeId, String couponId);


}
